package com.itheima.integer;

import java.util.ArrayList;

public class Test {

    public static void main(String[] args) {
        ArrayList<Integer> list = new ArrayList<>();
        list.add(10);
        //int -> String
        String s = "" + 10;
        //"10"
        String s1 = Integer.valueOf(10).toString();
        // String
        String s2 = String.valueOf(10);

        //String  int
        int i = Integer.parseInt("10");
        int i1 = Integer.valueOf("10");
        int i2 = new Integer("10");
    }
}
